#ifndef __WS2812B_H
#define	__WS2812B_H

#include "stm32f10x.h"
#include "delay.h"	
#include <stdio.h>

extern	uint8_t rgb0[1][3];
extern	uint8_t rgb1[1][3];	
extern	uint8_t rgb2[1][3];
extern	uint8_t rgb3[1][3];	
extern	uint8_t rgb4[1][3];
extern	uint8_t rgb5[1][3];	
extern	uint8_t rgb6[1][3];
extern	uint8_t rgb7[1][3];	
extern	uint8_t rgb8[1][3];

void Timer2_init(void);
void Ws2812_SendusChar(uint8_t (*color)[3], uint16_t len);
void UsChar_LeftDisplay(uint8_t (*date)[32],uint8_t (*color)[3],uint8_t num);
void ws2812_DispStringLine_EN_CH ( unsigned char * pStr );
void TempBuffer ( uint8_t (*date)[32], uint8_t usTemp[][32], uint8_t flag );
                             
#endif /* __WS2812B_H */
